﻿<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/Site.master" CodeFile="popupPasswordform.aspx.cs"
    Inherits="Assesment.Web.Forms.Administration.UserManagement.popupPasswordform" %>

<asp:Content ID="ctnBody" ContentPlaceHolderID="body" runat="server">
    <script type="text/javascript">

        $(document).ready(function () {
            var MenuForgotPass = '<%= Request.Params["menuforgotpass"] %>';
            if (MenuForgotPass.toString() != "") {
                $('#dialogPassword').load('changePasswordform.aspx' + '?menuid=1&menuforgotpass=true').dialog({ autoOpen: false,
                    closeOnEscape: false, modal: true, width: 400, height: 230, title: 'Ganti Password'
                });

//                $('#dialogPassword').parent().find('a.ui-dialog-titlebar-close').remove();

                $("#dialogPassword").dialog('open');
            }
            else {
                $('#dialogPassword').load('changePasswordform.aspx' + '?menuid=<%= base.MenuID %>').dialog({ autoOpen: false,
                    closeOnEscape: false, modal: true, width: 400, height: 230, title: 'Ganti Password'
                });

//                $('#dialogPassword').parent().find('a.ui-dialog-titlebar-close').remove();

                $("#dialogPassword").dialog('open');
            }
        });

    </script>
    <div id="dialogPassword" title="Default dialog">
        Default Dialog
    </div>
   <div class="side-content fr">
        <div class="content-module">
            <div class="content-module-heading cf">
                <h3 class="fl">
                    About</h3>
                <span class="fr expand-collapse-text">Click to collapse</span> <span class="fr expand-collapse-text initial-expand">
                    Click to expand</span>
            </div>
            <!-- end content-module-heading -->
            <div class="content-module-main">
            </div>
            <!-- end content-module-main -->
        </div>
    </div>
</asp:Content>
